package jp.co.worksap.examination;

import jp.co.worksap.examination.StackForPriorExaminationImpl;

public class TestLab {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		StackForPriorExaminationImpl<Character> stack = 
			new StackForPriorExaminationImpl<Character>();
		System.out.println(stack.size());
		for(char i = 'a'; i <= 'z'; ++i){
			stack.push(i);
		}
		
		System.out.println(stack.pop());
		System.out.println(stack.peekMaximum());
		System.out.println(stack.peekMedian());
		System.out.println(stack.peekMinimum());
	}
}
